package com.tank.fire;

import com.tank.entrity.Tank;

public class FourDirectionFireStrategy implements FireStrategy{
    @Override
    public void fire(Tank tank) {
        try {
//            BARREL.acquire();
//            DirectionEnum[] directions = DirectionEnum.values();
//            for (DirectionEnum direction : directions) {
////                tank.getBullets().add(new Bullet((int) (tank.getX() + (Tank.TANK_WIDTH / 2)), (int) (tank.getY() + (Tank.TANK_HEIGHT / 2)), direction, tank.getBullets(), tank.getGroupType(), tank.getTankColor()));
//            }
        } catch (Exception e) {
            e.getLocalizedMessage();
        }
    }
}
